<?php
/**
 * Created by PhpStorm.
 * User: sunshubo
 * Date: 2017/9/15
 * Time: 17:22
 */

class Baseinfo extends MY_Controller
{
    function index()
    {
        $post_data = ($this->input->post());
        $this->load->model('public/QueryInfo_model', 'info');
        if ($post_data) {
            echo $this->info->query($post_data);
        } else {
            echo $this->info->query(false);
        }
        return;
    }
}